package com.zhuang.chapter07.work01;

public class SaridEmlye extends Employee {
	private int salary;

	public SaridEmlye() {
	}

	public SaridEmlye(String name, int month, int salary) {
		super(name, month);
		this.salary = salary;
	}

	public int getSalary() {
		return salary;
	}

	public void setSalary(int salary) {
		this.salary = salary;
	}

	@Override
	public int getSalary(int month) {
		return salary + super.getSalary(month);
	}
}
